package com.sxjh.entity.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class IcEnteringParam {

  @ApiModelProperty("卡号")
  @NotBlank(message = "卡号不能为空")
  @Length(min = 8, max = 8, message = "卡号应为8位")
  @NotNull(message = "卡号不能为空")
  private String number;

  @ApiModelProperty("印刷编号")
  @NotBlank(message = "印刷编号不能为空")
  @Length(min = 6, max = 6, message = "印刷编号应为6位")
  @NotNull(message = "印刷编号不能为空")
  private String printing;

  @ApiModelProperty(value = "车号ID")
  private Integer wagonNumberId;

  @ApiModelProperty(value = "手续费")
  private String fee;

  @ApiModelProperty(value = "备注")
  private String remark;
}